package com.cs.mediator;

/**
 * @author Sam.Lee E-mail:lishanman2007@163.com
 * @version Created：Aug 29, 2011 1:52:06 PM
 */
public class Main {
	public static void main(String[] args) {
		ConcreteMediator mediator = new ConcreteMediator();
		ConcreteColleagueA colleagueA = new ConcreteColleagueA(mediator);
		ConcreteColleagueB colleagueB = new ConcreteColleagueB(mediator);
		colleagueA.doSomeOperation();
		colleagueB.doSomeOperation();
	}
}
